package com.xb.cloud.gateway.result;

import java.util.Map;

/**
 * 
 * @ClassName:  Result   
 * @Description:返回数据模板接口
 * @author: 鲜备科技
 * @date:   2017年12月15日 下午6:32:24   
 *     
 * @Copyright: 2017 www.xianbeitech.com Inc. All rights reserved. 
 *
 */
public abstract interface Result {
	public static final String DEFAULT_MODEL_KEY = "_defaultModel";

	public abstract boolean isSuccess();

	public abstract void setSuccess(boolean paramBoolean);

	/*public abstract BaseResultCode getBaseResultCode();

	public abstract void setBaseResultCode(BaseResultCode paramBaseResultCode);*/

	public abstract String getResultDesc();

	public abstract void setResultDesc(String paramString);

	public abstract String getDefaultModelKey();

	public abstract Object getDefaultModel();

	public abstract void setDefaultModel(Object paramObject);

	public abstract void setDefaultModel(String paramString, Object paramObject);

	public abstract Map<String, Object> getModels();

	public abstract Object getModel(String paramString);

	public abstract boolean hasModels();

	public abstract void clear();
}
